import request from '@/utils/request'
// 查询
export function attachmentPreservation(data) {
  return request({
    url: '/reportFormController/queryUnitSalarySummaryPage',
    method: 'get',
    params: data
  })
}

/**
 * 获取离休人数据
 * @param {*} query
 */
export function getUnitBankRetired(query) {
  return request({
    url: '/reportFormController/queryUnitBankRetiredPage',
    method: 'get',
    params: query
  })
}

/**
 * 获取在职人数据
 * @param {*} query
 */
export function getUnitBankWork(query) {
  return request({
    url: '/reportFormController/queryUnitBankWorkPage',
    method: 'get',
    params: query
  })
}

/**
 * 人员变动情况新增
 * @param {*} query
 */
export function PersonChangeAdd(query) {
  return request({
    url: 'reportFormController/vwSalPersonChangeAdd',
    method: 'get',
    params: query
  })
}

/**
 * 人员变动情况删除
 * @param {*} query
 */
export function PersonChangeDelete(query) {
  return request({
    url: 'reportFormController/vwSalPersonChangeDelete',
    method: 'get',
    params: query
  })
}

/**
 * 人员变动情况调转
 * @param {*} query
 */
export function getPersonChangeTurn(query) {
  return request({
    url: 'reportFormController/queryPersonChangeTurnPage',
    method: 'get',
    params: query
  })
}

/**
 * 签报
 * @param {*} query
 */
export function salarySign() {
  return request({
    url: 'reportFormController/salarySign',
    method: 'get'
  })
}

/**
 * 签报
 * @param {*} query
 */
export function vwSalAgencyPersonTrafficAllowance(query) {
  return request({
    url: 'reportFormController/vwSalAgencyPersonTrafficAllowance',
    method: 'get',
    params: query
  })
}
